import { Module } from '@nestjs/common';
import { OkxController } from './okx.controller';
import { OkxService } from './okx.service';
import { HttpModule } from '@nestjs/axios';
@Module({
  controllers: [OkxController],
  imports: [HttpModule],
  providers: [OkxService],
})
export class OkxModule {}

// import { OkxMiddleware } from './okx.middleware';
// @Module({
//   controllers: [OkxController],
//   imports: [HttpModule],
//   providers: [OkxService],
// })
// export class OkxModule implements NestModule {
//   configure(consumer: MiddlewareConsumer) {
//     consumer.apply(OkxMiddleware).forRoutes('okx');
//   }
// }
